<template>
  <el-card class="page-tools">
    <el-row type="flex" justify="space-between" align="middle">
      <el-col>
        <div class="before">
          <slot name="before" />
        </div>
      </el-col>
    </el-row>
    <el-row>
      <el-col>
        <el-row type="flex" justify="end">
          <slot name="after" />
        </el-row>
      </el-col>
    </el-row>
  </el-card>
</template>

<script>
export default {
  props: {

  }
}
</script>

<style lang='scss'>
 .page-tools {
    margin: 10px 0;
    .before {
      line-height: 20px;
    display: inline-block;
    padding: 0px 5px;
    border-radius: 3px;
  }
 }
</style>
